#ifndef __TCP_CLIENT_H__
#define __TCP_CLIENT_H__

esp_err_t tcp_client_init();
int set_sock_time(int fd, int read_sec, int write_sec);

void tcp_client_close();

esp_err_t tcp_send_data(char* data, size_t len);
void tcp_recv_data(char* rx_buffer, size_t len, size_t* recv_len);


#endif // __TCP_CLIENT_H__